Skip to content

Add Focus Games: memory, sequence, number slide, and word scramble - #15

Merged
rmkr-dev merged 1 commit into
mainfrom
feature/focus-games-first-wave
Sep 12, 2026
Merged

rmkr-dev merged 1 commit into
mainfrom
feature/focus-games-first-wave

Conversation

@rmkr-dev

Copy link
Copy Markdown
Owner

Summary

  • Adds a Focus Games category with a hub at games/ and four simple client-side games.
  • Games are mobile-friendly, work offline after load, and store only best score / streak in localStorage.
  • No SFX, ads, accounts, or new CDNs — vanilla JS plus existing Inter + site.css / site.js chrome.

Games

Path Game Score stored
games/memory/ Memory Match (pair flip) Best (lowest) moves — rmkr-game-memory-best
games/sequence/ Sequence Recall (Simon-lite) Best (highest) level — rmkr-game-sequence-best
games/numbers/ Number Slide (15-puzzle) Best (lowest) moves — rmkr-game-numbers-best
games/words/ Word Scramble Best streak — rmkr-game-words-best

Site chrome

  • assets/site.js: register category + tools; nested-path rootPrefix fallback when data-root is absent.
  • assets/site.css: surgical styles for HUD, boards, pads, tiles, scramble UI (dark gold theme).
  • scripts/site-check.mjs: treat games/index.html like the AI hub for HTML checks.
  • README documents the new section.

Test plan

  • Open games/ hub and confirm all four cards link correctly.
  • Play each game once; confirm HUD updates and best values persist after refresh.
  • Check mobile viewport: large tap targets, no horizontal overflow on boards.
  • Confirm header/footer inject with data-root (../ on hub, ../../ on game pages).
  • Run node scripts/site-check.mjs after merging into a full tree checkout.

Ship a /games/ hub plus Memory Match, Sequence Recall, Number Slide,
and Word Scramble — client-side only, localStorage best scores, dark
gold theme, no sound or accounts.
@rmkr-dev
rmkr-dev merged commit d4e4a3a into main Sep 12, 2026
1 check passed
@rmkr-dev
rmkr-dev deleted the feature/focus-games-first-wave branch September 12, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant